package com.zhe.zheblogmaster.service;

import com.github.pagehelper.PageInfo;
import com.zhe.zheblogmaster.entity.BlogComment;

/**
 * @author WHAOU
 */
public interface BlogCommentService {

    PageInfo<BlogComment> getCommentPageByBlogId(Long blogId, Integer pageNum);

    Boolean addComment(BlogComment comment);

    Integer getTotalComments();

    PageInfo<BlogComment> getCommentPage(Integer pageNum);

    int check(Integer[] ids);

    int deleteByIdBatch(Integer[] ids);

    int reply(Integer id, String reply);
}
